|
RAIS
3.2
|
00001 00028 using System; 00029 using System.Collections.Generic; 00030 using System.Data; 00031 using System.Data.SqlClient; 00032 using System.Text; 00033 00034 using RAIS.Common.TableManagement; 00035 00036 namespace RAIS.Common.MessageManagement 00037 { 00038 public class ValidationData 00039 { 00040 //********************************************************************* 00041 #region Fields 00042 Message message; 00043 Table table; 00044 Table historyTable; 00045 00046 SqlDataAdapter validationDataAdapter; 00047 DataSet validationDataSet = new DataSet(); 00048 List<FieldData> validationRowValues; 00049 00050 SqlDataAdapter dataAdapter; 00051 DataSet dataSet = new DataSet(); 00052 List<FieldData> currentRowValues; 00053 00054 SqlDataAdapter validationHistoryDataAdapter; 00055 DataSet validationHistoryDataSet = new DataSet(); 00056 List<FieldData> validationHistoryRowValues; 00057 00058 SqlDataAdapter historyDataAdapter; 00059 DataSet historyDataSet = new DataSet(); 00060 List<FieldData> historyRowValues; 00061 00062 bool multilookupInsertionNeeded = false; 00063 bool multilookupDeletionNeeded = false; 00064 bool historyMultilookupInsertionNeeded = false; 00065 bool historyMultilookupDeletionNeeded = false; 00066 #endregion 00067 //********************************************************************* 00068 #region Properties 00069 00070 00071 00072 public Message Message 00073 { 00074 get { return this.message; } 00075 set { this.message = value; } 00076 } 00080 public Table Table 00081 { 00082 get { return this.table; } 00083 set { this.table = value; } 00084 } 00088 public Table HistoryTable 00089 { 00090 get { return historyTable; } 00091 set { historyTable = value; } 00092 } 00096 public SqlDataAdapter ValidationDataAdapter 00097 { 00098 get { return this.validationDataAdapter; } 00099 set { this.validationDataAdapter = value; } 00100 } 00104 public DataSet ValidationDataSet 00105 { 00106 get { return this.validationDataSet; } 00107 set { this.validationDataSet = value; } 00108 } 00112 public List<FieldData> ValidationRowValues 00113 { 00114 get { return this.validationRowValues; } 00115 set { this.validationRowValues = value; } 00116 } 00120 public SqlDataAdapter DataAdapter 00121 { 00122 get { return this.dataAdapter; } 00123 set { this.dataAdapter = value; } 00124 } 00128 public DataSet DataSet 00129 { 00130 get { return this.dataSet; } 00131 set { this.dataSet = value; } 00132 } 00136 public List<FieldData> CurrentRowValues 00137 { 00138 get { return this.currentRowValues; } 00139 set { this.currentRowValues = value; } 00140 } 00144 public SqlDataAdapter ValidationHistoryDataAdapter 00145 { 00146 get { return this.validationHistoryDataAdapter; } 00147 set { this.validationHistoryDataAdapter = value; } 00148 } 00152 public DataSet ValidationHistoryDataSet 00153 { 00154 get { return this.validationHistoryDataSet; } 00155 set { this.validationHistoryDataSet = value; } 00156 } 00160 public List<FieldData> ValidationHistoryRowValues 00161 { 00162 get { return this.validationHistoryRowValues; } 00163 set { this.validationHistoryRowValues = value; } 00164 } 00168 public SqlDataAdapter HistoryDataAdapter 00169 { 00170 get { return this.historyDataAdapter; } 00171 set { this.historyDataAdapter = value; } 00172 } 00176 public DataSet HistoryDataSet 00177 { 00178 get { return this.historyDataSet; } 00179 set { this.historyDataSet = value; } 00180 } 00184 public List<FieldData> HistoryRowValues 00185 { 00186 get { return this.historyRowValues; } 00187 set { this.historyRowValues = value; } 00188 } 00192 public bool MultilookupInsertionNeeded 00193 { 00194 get { return this.multilookupInsertionNeeded; } 00195 set { this.multilookupInsertionNeeded = value; } 00196 } 00200 public bool MultilookupDeletionNeeded 00201 { 00202 get { return this.multilookupDeletionNeeded; } 00203 set { this.multilookupDeletionNeeded = value; } 00204 } 00208 public bool HistoryMultilookupInsertionNeeded 00209 { 00210 get { return this.historyMultilookupInsertionNeeded; } 00211 set { this.historyMultilookupInsertionNeeded = value; } 00212 } 00216 public bool HistoryMultilookupDeletionNeeded 00217 { 00218 get { return this.historyMultilookupDeletionNeeded; } 00219 set { this.historyMultilookupDeletionNeeded = value; } 00220 } 00221 #endregion 00222 } 00223 }